package com.gec.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gec.mapper.ReplyMapper;
import com.gec.pojo.Reply;
import com.gec.service.ReplyService;

@Service
public class ReplyServiceImpl implements ReplyService{
	
	@Autowired
	ReplyMapper replyMapper;

	@Override
	public List<Reply> getReplyByAid(int aid) {
		return replyMapper.getReplyByAid(aid);
	}

	@Override
	public void replyArticle(int aid, String text, String name) {
		replyMapper.replyArticle(aid,text,name);
	}

	
}
